#!/bin/sh

QUESTS=`ls -1 --color=no $HOME/.quests`

TARGET=`ls -1 --color=no $HOME/.quests | tr '_' ' ' | dmenu -l 10 -p "Start Quest: " | tr ' ' '_'`

[ -n "$TARGET" ] && exec $HOME/.quests/$TARGET/env
